home *** CD-ROM | disk | FTP | other *** search
-
- AutoSave is a generalised version of a little program I wrote to act as an
- auto-saver for my Aladdin digital lighting controller. It runs a specified
- ARexx script at one of several time intervals - originally one which saved
- the current Aladdin production under the name "AutoSaved", but the script
- can, of course, do anything.
-
- AutoSave can only be run from the Workbench (it exits immediately if run
- from a Shell), and looks for the following icon tooltypes:
-
- - SCRIPT: The full path and name of the ARexx script to execute, along with
- any arguments desired. Max safe length is about 60 characters.
- Default is "rexx:AutoSave.rexx".
-
- - TITLE: The title which appears in AutoARexx's window. Default is "AutoSave".
-
- - MINUTES: The initial time interval between script executions. The
- choices are 1,5,15,60 or 0 (disabled). If the time given is not one of
- these, or the tooltype is not present, it defaults to 15.
-
- AutoSave's window allows you to change the interval whenever you want -
- selecting "Disabled" prevents the script from being executed. AutoSave
- executes the ARexx script in the background, so that if the script hangs
- (due to an unresponsive or crashed target application) AutoSave will not
- also hang. Any output from the script executed is NOT routed to a console
- window, so it cannot be seen.
-
- Apart from its utility, AutoSave is a very simple GadTools example which
- also demonstrates using and interrupting the timer device.
-
- Apologies to Mike Sinz for pinching his "PM" icon, which happened to be the
- closest tool icon handy.
-